<?php
  $this->title = 'ListView的Demo';
  \frontend\assets\ListViewAsset::register($this);
  \frontend\assets\OwlCarousel::register($this);

  $this->registerCssFile('@web/css/demo/listview.css');
  $this->registerJsFile('@web/js/demo/listview.js');
?>
<div class="container">
  <div class="owl-carousel">
    <div class="owl-lazy banner_item" data-src="http://img.zc3u.com/station/fb3dad72d378f3a69d3ec78cdb20c871"></div>
    <div class="owl-lazy banner_item" data-src="http://img.zc3u.com/station/6e89395b7534e13bc0aafa61911845e0"></div>
    <div class="owl-lazy banner_item" data-src="http://img.zc3u.com/station/3ed1f798bd0b56d199eb33db7e2fb06a"></div>
    <div class="owl-lazy banner_item" data-src="http://img.zc3u.com/station/d19e09879cb94239e9fe9b03792fa6e9"></div>
  </div>
  <div class="listview">
    <div class="real_listview"></div>
  </div>
</div>
<textarea id="list_item_template" style="display:none;">
  <li class="item_li">
    <div class="item_con">
      <span class="name">{namestr}</span>
    </div>
  </li>
</textarea>
